package com.lin.service;

import com.lin.entity.Device;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lin
 * @since 2022-06-17
 */
public interface DeviceService extends IService<Device> {

    List<Device> getDeviceList(Integer departmentDid, String key);

    Boolean addDevice(Device device);

    Boolean updateDevice(Device device);

    Boolean removeDevice(Integer id);

    List getDeviceInfo( Integer departmentDid);
}
